projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28a78f
)
(get_boot_time): Reduce scope of #ifdef BOOT_TIME
author
Karl Heuer
<kwzh@gnu.org>
Tue, 9 Mar 1999 03:31:10 +0000
(
03:31
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 9 Mar 1999 03:31:10 +0000
(
03:31
+0000)
to only the part that uses get_boot_time_1.
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index 9ee09b4d072139d82ae0a1aa316033d7e6063e6c..429036f33057829f98169f2c8d6fe0407d789bb6 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-110,7
+110,6
@@
extern Lisp_Object Vshell_file_name;
static time_t
get_boot_time ()
{
-#ifdef BOOT_TIME
struct utmp ut, *utp;
int fd;
EMACS_TIME time_before, after;
@@
-166,6
+165,7
@@
get_boot_time ()
}
#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */
+#ifdef BOOT_TIME
/* Try to get boot time from the current wtmp file. */
get_boot_time_1 (WTMP_FILE);